export default {
    mode: 'universal',
    /*
     ** Headers of the page
     */
    head: {
        title: '掌上大学-“学生价”校园商城开创者',
        meta: [
            { charset: 'utf-8' },
            { name: 'renderer', content: 'webkit' },
            {
                name: 'viewport',
                content:
                    'width=device-width,target-densitydpi=high-dpi,initial-scale=1,maximum-scale=1,user-scalable=no,minimal-ui'
            },
            {
                name: 'format-detection',
                content: 'telephone=no'
            },
            {
                name: 'format-detection',
                content: 'email=no'
            },
            {
                hid: 'keywords',
                name: 'keywords',
                content:
                    '校园推广，校园营销，校园广告，校园传媒，校园渠道公司，校园地推公司，校园推广方案，校园广告投放，校园活动，校园APP推广， APP推广，高校推广，高校营销，高校渠道'
            },
            {
                hid: 'description',
                name: 'description',
                content:
                    '2000所高校媒介曝光品牌和推广，校园代理销售，品牌联动落地校园，校园管培生计划，品效合一的新思维'
            }
        ],
        link: [
            {
                rel: 'shortcut icon',
                type: 'image/x-icon',
                href: 'https://cdn.zsdx.cn/zsdx-website/2020/images/fav.png'
            }
        ]
    },
    /*
     ** Customize the progress-bar color
     */
    loading: {
        color: '#fff'
    },
    /*
     ** Global CSS
     */
    css: [
        'assets/css/reset.css',
        'swiper/css/swiper.css',
        'assets/css/common.css'
    ],
    /*
     ** Plugins to load before mounting the App
     */
    plugins: [
        { src: '@/plugins/message', ssr: true },
        { src: '@/plugins/rem', ssr: false },
        { src: '@/plugins/swiper', ssr: true }
    ],
    /*
     ** Nuxt.js dev-modules
     */
    buildModules: [
        // Doc: https://github.com/nuxt-community/eslint-module
        '@nuxtjs/eslint-module',
        // Doc: https://github.com/nuxt-community/stylelint-module
        '@nuxtjs/stylelint-module'
    ],
    /*
     ** Nuxt.js modules
     */
    modules: [],

    router: {
        extendRoutes(routes, resolve) {
            routes.push({
                path: '*',
                component: resolve(__dirname, 'pages/index.vue')
            })
        }
    },

    /*
     ** Build configuration
     */
    build: {
        /*
         ** You can extend webpack config here
         */
        extend(config, ctx) {}
    }
}
